package adminlte.auth;

/**
 * @author ZHUFEIFEI
 */
public class IntegrationAuthenticationContext {
    private static final ThreadLocal<IntegrationAuthentication> _HOLDER = new ThreadLocal<>();

    public static void set(IntegrationAuthentication auth) {
        _HOLDER.set(auth);
    }

    public static IntegrationAuthentication get() {
        return _HOLDER.get();
    }

    public static void remove() {
        _HOLDER.remove();
    }
}
